@(active: String, ssh: Boolean)(body: Html)(implicit context: gitbucket.core.controller.Context)
<div class="main-sidebar">
  <div class="sidebar">
    <ul class="sidebar-menu">
      <li@if(active=="profile"){ class="active"}>
        <a href="@context.path/@context.loginAccount.get.userName/_edit">Profile</a>
      </li>
      @if(ssh){
      <li@if(active=="ssh"){ class="active"}>
        <a href="@context.path/@context.loginAccount.get.userName/_ssh">SSH Keys</a>
      </li>
      }
      <li@if(active=="application"){ class="active"}>
        <a href="@context.path/@context.loginAccount.get.userName/_application">Applications</a>
      </li>
      @gitbucket.core.plugin.PluginRegistry().getAccountSettingMenus.map { menu =>
        @menu(context).map { link =>
          <li@if(active==link.id){ class="active"}>
            <a href="@context.path/@link.path">@link.label</a>
          </li>
        }
      }
    </ul>
  </div>
</div>
<div class="content-wrapper">
  <div class="content body">
    @body
  </div>
</div>
